<template>
	<view>
		<web-view :src="h5Src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				h5Src:''
			}
		},
		onLoad() {
		    //console.log(options);
			// const params = '?id=' + options.id + '&mobile=' + this.mobile +'&code=' + this.code + '&id=' + this.id +  '&name=' + this.name
			// const url = uni.getStorageSync('iframe');
			const type = this.$Route.query.type;
			if(type == 1) {
				this.h5Src = 'https://mp.weixin.qq.com/s/zEg_8IFPOltUJ56IiFetOA';
			}
			if(type == 2) {
				this.h5Src = 'https://mp.weixin.qq.com/s/VFq0cnsuST9k12CMTYGvNw';
			}
		},
		methods: {
			
		}
	}
</script>

<style s>

</style>
